package com.adk.backend.mapper;

import com.adk.backend.entity.LxBillingDetails;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;

/**
 * 账单明细Mapper接口
 */
@Mapper
public interface BillingDetailsMapper extends BaseMapper<LxBillingDetails> {
    
    /**
     * 根据账单ID查询明细列表
     */
    List<LxBillingDetails> selectByBillId(@Param("billId") Long billId);
    
    /**
     * 根据订单ID查询明细列表
     */
    List<LxBillingDetails> selectByOrderId(@Param("orderId") Long orderId, @Param("shipType") Integer shipType);
}

